In a distributed version control system, there is no single central repository that Git forces everyone to rely upon. Instead, collaboration is a social convention rather than a technical requirement. This lesson introduces the Patch Workflow, the gold standard for high-integrity projects like the Linux Kernel.
1. Defining the Patch
A patch is a way to send individual commits to another developer. It is a plain-text file typically used to share commits without sharing entire branches or providing write access to a server.
2. The Patch Workflow Diagram
In this model, developers work in isolation and send their contributions to a project maintainer (the integrator).
3. The Integrator Model
Project integrity is maintained by a designated lead who filters contributions. Developers generate patches and send them via Email. The integrator reviews them in a private environment before performing a Push to the official repository, ensuring every line of code is vetted.